package com.qindian.model;

import java.util.List;

/**
 * Author: Li
 * Date: 2018/4/28 0028
 * Description:
 */

public class GoodsModel {

    /**
     * msg : SUCCESS
     * code : 000000
     * data :
     */

    private String msg;
    private String code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * size : 10
         * page : 1
         * total : 4778
         * list : [{"id":"商品ID","cid":"类目","itemid":"559487447532","title":"商品标题","itempic":"商品图片","origin_price":"原价","shop_price":"卷面价","end_time":"优惠券结束时间","plathform_url":"商品平台地址"}]
         */

        private int size;
        private int page;
        private int total;
        private List<ListBean> list;

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 商品ID
             * cid : 类目
             * itemid : 559487447532
             * title : 商品标题
             * itempic : 商品图片
             * origin_price : 原价
             * shop_price : 卷面价
             * end_time : 优惠券结束时间
             * plathform_url : 商品平台地址
             */

            private String id;
            private String cid;
            private String itemid;
            private String title;
            private String itempic;
            private String origin_price;
            private String shop_price;
            private String end_time;
            private String plathform_url;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCid() {
                return cid;
            }

            public void setCid(String cid) {
                this.cid = cid;
            }

            public String getItemid() {
                return itemid;
            }

            public void setItemid(String itemid) {
                this.itemid = itemid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getItempic() {
                return itempic;
            }

            public void setItempic(String itempic) {
                this.itempic = itempic;
            }

            public String getOrigin_price() {
                return origin_price;
            }

            public void setOrigin_price(String origin_price) {
                this.origin_price = origin_price;
            }

            public String getShop_price() {
                return shop_price;
            }

            public void setShop_price(String shop_price) {
                this.shop_price = shop_price;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public String getPlathform_url() {
                return plathform_url;
            }

            public void setPlathform_url(String plathform_url) {
                this.plathform_url = plathform_url;
            }

            @Override
            public String toString() {
                return "ListBean{" +
                        "id='" + id + '\'' +
                        ", cid='" + cid + '\'' +
                        ", itemid='" + itemid + '\'' +
                        ", title='" + title + '\'' +
                        ", itempic='" + itempic + '\'' +
                        ", origin_price='" + origin_price + '\'' +
                        ", shop_price='" + shop_price + '\'' +
                        ", end_time='" + end_time + '\'' +
                        ", plathform_url='" + plathform_url + '\'' +
                        '}';
            }
        }
    }
}
